package com.aj.activity.dialog;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;

import com.aj.activity.R;

public class BaseDialog extends Dialog {

	protected int layoutResID;
	protected Context context;

	public BaseDialog(Context context) {
		super(context, R.style.basedialog_style);
		this.context = context;
	}

	public BaseDialog(Context context, int layoutResID) {
		super(context, R.style.basedialog_style);
		this.context = context;
		this.layoutResID = layoutResID;
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(layoutResID);
	}

}
